<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DOCA-AR: doca_ar_conntrack.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DOCA-AR<span id="projectnumber">&#160;1.0</span>
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('doca__ar__conntrack_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">doca_ar_conntrack.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>simple connection tracking table module for recording flow info and modifying headers of packets forwarded by software  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="doca__ar__env_8h_source.html">doca_ar_env.h</a>&quot;</code><br />
<code>#include &lt;cmdline.h&gt;</code><br />
</div>
<p><a href="doca__ar__conntrack_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">match of hash table and l4-connection  <a href="structdoca__ar__conn__match.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">context of a connection  <a href="structdoca__ar__conn.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ab9e794db1d7d267edf74eee29d0fe45d" id="r_ab9e794db1d7d267edf74eee29d0fe45d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab9e794db1d7d267edf74eee29d0fe45d">MAX_CONNTRACK</a>&#160;&#160;&#160;1 &lt;&lt; 14</td></tr>
<tr class="memdesc:ab9e794db1d7d267edf74eee29d0fe45d"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum connections can be stored in rte_mempool and offloaded into eSwitch  <br /></td></tr>
<tr class="separator:ab9e794db1d7d267edf74eee29d0fe45d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ac51bc5153e32e12262fcd2e36e5685b8" id="r_ac51bc5153e32e12262fcd2e36e5685b8"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac51bc5153e32e12262fcd2e36e5685b8">ExpireCallback</a>) (void *arg)</td></tr>
<tr class="memdesc:ac51bc5153e32e12262fcd2e36e5685b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">user-defined callback function when expiring connection  <br /></td></tr>
<tr class="separator:ac51bc5153e32e12262fcd2e36e5685b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a56184129d371e404856bdaa59e4b07a6" id="r_a56184129d371e404856bdaa59e4b07a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a56184129d371e404856bdaa59e4b07a6">doca_ar_conntrack_init_env</a> (int <a class="el" href="doca__ar__conntrack_8c.html#a2b3d200cc12edce14ead7fd945866d43">maxConntrack</a>)</td></tr>
<tr class="memdesc:a56184129d371e404856bdaa59e4b07a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">init connection tracking table and mempool  <br /></td></tr>
<tr class="separator:a56184129d371e404856bdaa59e4b07a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad69037a1d065b14a162ea9041be7e9c3" id="r_ad69037a1d065b14a162ea9041be7e9c3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad69037a1d065b14a162ea9041be7e9c3">doca_ar_parse_conn</a> (struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *match, struct rte_mbuf *m)</td></tr>
<tr class="memdesc:ad69037a1d065b14a162ea9041be7e9c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">pasrse conn match from rte_mbuf  <br /></td></tr>
<tr class="separator:ad69037a1d065b14a162ea9041be7e9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a7016ab5b5cad3ea221c676f64dded" id="r_a89a7016ab5b5cad3ea221c676f64dded"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a89a7016ab5b5cad3ea221c676f64dded">doca_ar_print_match</a> (struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *match)</td></tr>
<tr class="memdesc:a89a7016ab5b5cad3ea221c676f64dded"><td class="mdescLeft">&#160;</td><td class="mdescRight">debug api for pring match info  <br /></td></tr>
<tr class="separator:a89a7016ab5b5cad3ea221c676f64dded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3e0531aa24c358275f419df7be2d25" id="r_a9f3e0531aa24c358275f419df7be2d25"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9f3e0531aa24c358275f419df7be2d25">doca_ar_add_conn</a> (struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *match, uint16_t bestPath)</td></tr>
<tr class="memdesc:a9f3e0531aa24c358275f419df7be2d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">get conn from mempool and add conn into the conntrack table  <br /></td></tr>
<tr class="separator:a9f3e0531aa24c358275f419df7be2d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b2fe64069c5150e22918d3c98600d8" id="r_ac7b2fe64069c5150e22918d3c98600d8"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac7b2fe64069c5150e22918d3c98600d8">doca_ar_find_conn</a> (struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *match)</td></tr>
<tr class="memdesc:ac7b2fe64069c5150e22918d3c98600d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">find the conn from conntrack table  <br /></td></tr>
<tr class="separator:ac7b2fe64069c5150e22918d3c98600d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d91621cd40b42689e1b7d9ad1550b3e" id="r_a6d91621cd40b42689e1b7d9ad1550b3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6d91621cd40b42689e1b7d9ad1550b3e">doca_ar_del_conn</a> (void *conn)</td></tr>
<tr class="memdesc:a6d91621cd40b42689e1b7d9ad1550b3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">del conn from the conntrack table and put back to mempool  <br /></td></tr>
<tr class="separator:a6d91621cd40b42689e1b7d9ad1550b3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eb3bc24ab334a8c8201d532be261ee9" id="r_a3eb3bc24ab334a8c8201d532be261ee9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3eb3bc24ab334a8c8201d532be261ee9">doca_ar_modify_conn</a> (struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> *conn, struct rte_mbuf *m)</td></tr>
<tr class="memdesc:a3eb3bc24ab334a8c8201d532be261ee9"><td class="mdescLeft">&#160;</td><td class="mdescRight">modify the sport of conn and offload cksum  <br /></td></tr>
<tr class="separator:a3eb3bc24ab334a8c8201d532be261ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50387bc0218e0317264ef2c03dd3e048" id="r_a50387bc0218e0317264ef2c03dd3e048"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a50387bc0218e0317264ef2c03dd3e048">doca_ar_dump_conn</a> (struct cmdline *cl)</td></tr>
<tr class="memdesc:a50387bc0218e0317264ef2c03dd3e048"><td class="mdescLeft">&#160;</td><td class="mdescRight">iterate the whole conntrack table and print all conns info onto cmdline  <br /></td></tr>
<tr class="separator:a50387bc0218e0317264ef2c03dd3e048"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a24b6de8db2fc4277bc15bdfe4ca7e15d" id="r_a24b6de8db2fc4277bc15bdfe4ca7e15d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a24b6de8db2fc4277bc15bdfe4ca7e15d">__rte_cache_aligned</a></td></tr>
<tr class="separator:a24b6de8db2fc4277bc15bdfe4ca7e15d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>simple connection tracking table module for recording flow info and modifying headers of packets forwarded by software </p>
<dl class="section author"><dt>Author</dt><dd>Mark Chen (<a href="#" onclick="location.href='mai'+'lto:'+'mar'+'kc'+'hen'+'77'+'888'+'@g'+'mai'+'l.'+'com'; return false;">markc<span class="obfuscator">.nosp@m.</span>hen7<span class="obfuscator">.nosp@m.</span>7888@<span class="obfuscator">.nosp@m.</span>gmai<span class="obfuscator">.nosp@m.</span>l.com</a>) </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2024-01-07</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (c) 2024 </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ab9e794db1d7d267edf74eee29d0fe45d" name="ab9e794db1d7d267edf74eee29d0fe45d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e794db1d7d267edf74eee29d0fe45d">&#9670;&#160;</a></span>MAX_CONNTRACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CONNTRACK&#160;&#160;&#160;1 &lt;&lt; 14</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum connections can be stored in rte_mempool and offloaded into eSwitch </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ac51bc5153e32e12262fcd2e36e5685b8" name="ac51bc5153e32e12262fcd2e36e5685b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac51bc5153e32e12262fcd2e36e5685b8">&#9670;&#160;</a></span>ExpireCallback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* ExpireCallback) (void *arg)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>user-defined callback function when expiring connection </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a9f3e0531aa24c358275f419df7be2d25" name="a9f3e0531aa24c358275f419df7be2d25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f3e0531aa24c358275f419df7be2d25">&#9670;&#160;</a></span>doca_ar_add_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> * doca_ar_add_conn </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *</td>          <td class="paramname"><span class="paramname"><em>match</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t</td>          <td class="paramname"><span class="paramname"><em>bestPath</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get conn from mempool and add conn into the conntrack table </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">match</td><td></td></tr>
    <tr><td class="paramname">bestPath</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>struct doca_ar_conn* </dd></dl>

</div>
</div>
<a id="a56184129d371e404856bdaa59e4b07a6" name="a56184129d371e404856bdaa59e4b07a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56184129d371e404856bdaa59e4b07a6">&#9670;&#160;</a></span>doca_ar_conntrack_init_env()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int doca_ar_conntrack_init_env </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>maxConntrack</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>init connection tracking table and mempool </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">maxConntrack</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a id="a6d91621cd40b42689e1b7d9ad1550b3e" name="a6d91621cd40b42689e1b7d9ad1550b3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d91621cd40b42689e1b7d9ad1550b3e">&#9670;&#160;</a></span>doca_ar_del_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doca_ar_del_conn </td>
          <td>(</td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>conn</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>del conn from the conntrack table and put back to mempool </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">conn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a50387bc0218e0317264ef2c03dd3e048" name="a50387bc0218e0317264ef2c03dd3e048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50387bc0218e0317264ef2c03dd3e048">&#9670;&#160;</a></span>doca_ar_dump_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doca_ar_dump_conn </td>
          <td>(</td>
          <td class="paramtype">struct cmdline *</td>          <td class="paramname"><span class="paramname"><em>cl</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>iterate the whole conntrack table and print all conns info onto cmdline </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cl</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac7b2fe64069c5150e22918d3c98600d8" name="ac7b2fe64069c5150e22918d3c98600d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7b2fe64069c5150e22918d3c98600d8">&#9670;&#160;</a></span>doca_ar_find_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> * doca_ar_find_conn </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *</td>          <td class="paramname"><span class="paramname"><em>match</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>find the conn from conntrack table </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">match</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>struct doca_ar_conn* </dd></dl>

</div>
</div>
<a id="a3eb3bc24ab334a8c8201d532be261ee9" name="a3eb3bc24ab334a8c8201d532be261ee9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3eb3bc24ab334a8c8201d532be261ee9">&#9670;&#160;</a></span>doca_ar_modify_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doca_ar_modify_conn </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> *</td>          <td class="paramname"><span class="paramname"><em>conn</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct rte_mbuf *</td>          <td class="paramname"><span class="paramname"><em>m</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>modify the sport of conn and offload cksum </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">conn</td><td></td></tr>
    <tr><td class="paramname">m</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad69037a1d065b14a162ea9041be7e9c3" name="ad69037a1d065b14a162ea9041be7e9c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad69037a1d065b14a162ea9041be7e9c3">&#9670;&#160;</a></span>doca_ar_parse_conn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int doca_ar_parse_conn </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *</td>          <td class="paramname"><span class="paramname"><em>match</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct rte_mbuf *</td>          <td class="paramname"><span class="paramname"><em>m</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pasrse conn match from rte_mbuf </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">match</td><td></td></tr>
    <tr><td class="paramname">m</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a id="a89a7016ab5b5cad3ea221c676f64dded" name="a89a7016ab5b5cad3ea221c676f64dded"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89a7016ab5b5cad3ea221c676f64dded">&#9670;&#160;</a></span>doca_ar_print_match()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doca_ar_print_match </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdoca__ar__conn__match.html">doca_ar_conn_match</a> *</td>          <td class="paramname"><span class="paramname"><em>match</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>debug api for pring match info </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">match</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a24b6de8db2fc4277bc15bdfe4ca7e15d" name="a24b6de8db2fc4277bc15bdfe4ca7e15d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24b6de8db2fc4277bc15bdfe4ca7e15d">&#9670;&#160;</a></span>__rte_cache_aligned</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structdoca__ar__conn.html">doca_ar_conn</a> __rte_cache_aligned</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="doca__ar__conntrack_8h.html">doca_ar_conntrack.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
